WPGMZA\RestAPI D

Total Complexity 166
Dependencies 14
Dependents 1
Total lines 1,006
Lines of code 678
Logical lines of code 427
Comment lines 50
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
markers()
D
27
32 142
features()
D
29
33 116
registerRoute()
B
39 18 60
onAJAXRequest()
A
43 9 55
datatables()
A
50 10 25
parseCompressedParameters()
S
48 7 30
getRequestParameters()
S
53 6 24
getFilteringParameters()
S
56 6 18
maps()
S
52 5 25
onWPRestCacheAllowedEndpoints()
S
59 4 15
cleanRequestOutput()
S
63 5 10
registerRoutes()
S
45 1 51
sanitizeFieldNames()
S
62 3 11
checkForDeleteSimulation()
S
69 3 6
isDoingAjax()
S
71 3 5
onRestAPIInit()
S
64 3 9
geocodeCache()
S
67 2 8
sendAJAXResponse()
S
70 2 6
onWPRestCacheDetermineObjectType()
S
70 2 6
onParseRequest()
S
76 2 4
__construct()
S
60 1 13
isCompressedPathVariableSupported()
S
80 1 3
onInit()
S
82 1 3
getFeatureTables()
S
64 1 10
checkActionNonce()
S
69 1 6
getNonceTable()
S
82 1 3
addRestNonce()
S
78 1 3
isRequestURIUsingCompressedPathVariable()
S
78 1 3
decompress()
S
77 1 4
onReportRestAPIBlocked()
S
75 1 4